﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Mail;
using System.Collections.Specialized;
using System.Net.Sockets;
using System.Net;
using System.Threading;
using Studio.Network.Mail;
using Studio.Configuration;

namespace Studio.Network.MailServer
{

    public class SmtpServerSettings : ReflectionSettings
    {

        public int SMTP_PORT = 25;
     
        public int MAX_THREADS_IN_POOL = 16;
        
        public string DOMAIN_NAME = "gua3.cn";
        
        public string SERVER_NAME = "Studio MailServer";

        public string WELCOME = "Welcome to Marstone Studio.";

        public string FOLDER_IN = "./Mail/In/";

        public string FOLDER_OUT = "./Mail/Out/";
        
        public string FOLDER_BAD = "./Mail/Bad/";

        public Encoding ENCODING = Encoding.UTF8;

        public int WORKER_RECEIVE_TIMEOUT = 30000;

        /// <summary>
        /// 2 minutes
        /// </summary>
        public long WORKER_LIFE_TICKS = 2 * 600000000;
    }
}
